package com.love.driver.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

/**
 * 代驾订单主对象 LOVE_DRIVER_ORDER
 * 
 * @author love
 * @date 2025-09-13
 */
public class LoveDriverOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代驾订单ID */
    private Long orderId;

    /** 下单用户ID（关联用户表） */
    @Excel(name = "下单用户ID", readConverterExp = "关=联用户表")
    private Long userId;

    /** 接单司机ID（关联司机表） */
    @Excel(name = "接单司机ID", readConverterExp = "关=联司机表")
    private Long driverId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String carName;

    /** 订单状态：待接单/已接单/服务中/已完成/取消 */
    @Excel(name = "订单状态：待接单/已接单/服务中/已完成/取消")
    private String orderStatus;

    /** 代驾起始地址 */
    @Excel(name = "代驾起始地址")
    private String startAddress;

    /** 代驾结束地址 */
    @Excel(name = "代驾结束地址")
    private String endAddress;

    /** 代驾开始时间 */
    @Excel(name = "代驾开始时间")
    private String startTime;

    /** 代驾结束时间 */
    @Excel(name = "代驾结束时间")
    private String endTime;

    /** 代驾费用 */
    @Excel(name = "代驾费用")
    private BigDecimal PRICE;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public void setCarName(String carName)
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }

    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }

    public void setStartAddress(String startAddress) 
    {
        this.startAddress = startAddress;
    }

    public String getStartAddress() 
    {
        return startAddress;
    }

    public void setEndAddress(String endAddress) 
    {
        this.endAddress = endAddress;
    }

    public String getEndAddress() 
    {
        return endAddress;
    }

    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }

    public void setPRICE(BigDecimal PRICE) 
    {
        this.PRICE = PRICE;
    }

    public BigDecimal getPRICE() 
    {
        return PRICE;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("driverId", getDriverId())
            .append("carName", getCarName())
            .append("orderStatus", getOrderStatus())
            .append("startAddress", getStartAddress())
            .append("endAddress", getEndAddress())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("PRICE", getPRICE())
            .append("createTime", getCreateTime())
            .toString();
    }
}
